GrapeCity.Xaml.CalcEngine
Evaluate(Object[]) Method


GrapeCity.CalcEngine.Functions Namespace > CalcRateFunction Class > Evaluate Method : Evaluate(Object[]) Method

The args contains 3 - 6 items: nper, pmt, pv, [fv], [type], [guess].

Nper is the total number of payment periods in an annuity.

Pmt is the payment made each period and cannot change over the life of the annuity.

Pv is the present value ¡ª the total amount that a series of future payments is worth now.

Fv is the future value, or a cash balance you want to attain after the last payment is made. If fv is omitted, it is assumed to be 0 (the future value of a loan, for example, is 0).

Type is the number 0 or 1 and indicates when payments are due.

Guess is your guess for what the rate will be.

Returns the System.Double interest rate per period of an annuity.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As Object _
) As Object
'Usage
 
Dim instance As CalcRateFunction
Dim args() As Object
Dim value As Object
 
value = instance.Evaluate(args)
public override object Evaluate( 
   object[] args
)

Parameters

args

The args contains 3 - 6 items: nper, pmt, pv, [fv], [type], [guess].

Nper is the total number of payment periods in an annuity.

Pmt is the payment made each period and cannot change over the life of the annuity.

Pv is the present value ¡ª the total amount that a series of future payments is worth now.

Fv is the future value, or a cash balance you want to attain after the last payment is made. If fv is omitted, it is assumed to be 0 (the future value of a loan, for example, is 0).

Type is the number 0 or 1 and indicates when payments are due.

Guess is your guess for what the rate will be.

Return Value

A System.Double value that indicates the evaluate result.
See Also

Reference

CalcRateFunction Class
CalcRateFunction Members
Overload List